transistor as switch class 12 physics